﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MvcEngine.Core.Content;

namespace MvcEngine.Core.Repositories
{
    public interface IControlRepository
    {
        Control Get(Guid id);

        void Add(Control control);

        void Delete(Guid moduleId);

        IList<Control> GetAll();

        IList<Control> GetAllByModule(Guid moduleId);

        Control GetByKey(string controlKey);
    }
}
